home *** CD-ROM | disk | FTP | other *** search
/ Mission to McDonaldLand / Mission To McDonaldLand.iso / dinois.dxr / 00027_Script_Rnd animation < prev    next >
Text File  |  1998-10-25  |  381b  |  15 lines

  1. on enterFrame me
  2.   global restoration
  3.   global castrestore
  4.   global nomore
  5.   global objects
  6.   if nomore = 1 then abort
  7.   set dice = random (20)
  8.   if dice > 1 or objects > 1 then abort
  9.   set the member of sprite restoration = castrestore
  10.   set castrestore = the castnum of sprite 12
  11.   set restoration = 12
  12.   set the member of sprite 12 = "helpme"
  13.   set nomore = 1
  14. end
  15.